package edu.nju.desserthouse.dao;

import java.io.Serializable;
import java.util.ArrayList;

import javax.ejb.Remote;

import nju.edu.desserthouse.model.Sale;

@Remote
public interface SaleDao extends Serializable{
	
	public boolean save(Sale sale);
	
	public Sale find(String column, String value);
	
	public boolean updateBySaleId(Sale sale);

	ArrayList<Sale> getSaleList();

	ArrayList<Sale> getSaleList(long id);
}
